﻿// -----------------------------------------------------------------------
// <copyright file="RouteInfo.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace NetFramework.Router.Configuration
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml.Serialization;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    [Serializable]
    public class RouteInfo
    {
        /// <summary>
        /// 获取或设置页面名称
        /// </summary>
        [XmlAttribute("page")]
        public string PageName { get; set; }

        /// <summary>
        /// 获取或设置页面路由地址
        /// </summary>
        [XmlAttribute("url")]
        public string Url { get; set; }

        /// <summary>
        /// 获取或设置相对经路
        /// </summary>
        [XmlAttribute("path")]
        public string RelatedPath { get; set; }

        /// <summary>
        /// 获取或设置默认值
        /// </summary>
        [XmlAttribute("defaults")]
        public string Defaults { get; set; }
    }
}
